<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <title>乐看首页</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="/css/see/reset.min.css">
    <link rel="stylesheet" href="/plugins/swiper/swiper4.2.min.css">
    <link rel="stylesheet" href="/css/see/index.min.css?v=<%=$version%>">
</head>
<body>
<div id="seeIndex" v-cloak>
    <see-header ref="seeHeader" :number="0"></see-header>
    <aside class="enterpriseAd-slider">
        <template>
            <basic-slide :list="recommendMain.carousels"></basic-slide>
        </template>
    </aside>
    <div class="selfMedia-heat">
        <div class="selfMedia-heatTitle"></div>
        <div class="selfMedia-heatSlide">
            <selfmedia-slide :list="recommendMain.top"></selfmedia-slide>
        </div>
    </div>
    <div class="seeIndex-selfFlow">
        <selfmedia-flow :list="recommendList2" :number="1"></selfmedia-flow>
        <div class="loadtip" v-if="loadFlag"></div>
    </div>
    <footer-view :number="1"></footer-view>
    <prompt-view ref="prompt"></prompt-view>
</div>
<script src='/plugins/js/jquery-1.11.3.min.js'></script>
<script type="text/javascript" src="/plugins/js/jquery.lazyload.min.js"></script>
<script type="text/javascript" src="/plugins/js/minigrid.js"></script>
<script type="text/javascript" src="/plugins/js/vue.min.js"></script>
<script type="text/javascript" src="/plugins/swiper/swiper.min.4.2.js"></script>
<script type="text/javascript" src="/js/see/index.js?v=<%=$version%>"></script>
<script>
    var swiper1 = new Swiper(".enterpriseAd-slider .swiper-container",{
        spaceBetween: 8,
        slidesPerView: 'auto',   //设置slider容器能够同时显示的slides数量
        centeredSlides: true,    //设定为true时，活动块会居中，而不是默认状态下的居左。
        autoplay: {
            delay: 4000,
            disableOnInteraction: false
        },
        pagination: {
            el: '.swiper-pagination',
            clickable: true
        },
        lazy: {
            loadPrevNext: true,
            loadPrevNextAmount: 2
        },
        observer: true,//修改swiper自己或子元素时，自动初始化swiper
        observeParents: true//修改swiper的父元素时，自动初始化swiper
    });
    var swiper = new Swiper('.selfMedia-heatSlide .swiper-container', {
        spaceBetween: 10,
        slidesPerView: 'auto',
        freeMode: true,
        lazy: {
            loadPrevNext: true,
            loadPrevNextAmount: 3,
            loadOnTransitionStart: true
        },
        // lazyLoading : true,
        // lazyLoadingInPrevNext : true,
        // lazyLoadingInPrevNextAmount : 3,
        observer: true,//修改swiper自己或子元素时，自动初始化swiper
        observeParents: true//修改swiper的父元素时，自动初始化swiper
    });
    $("img.lazy").lazyload();
</script>
</body>
</html>